import Vue from 'vue'

export const addUser = (params) => Vue.axios.post("/user/add-user",params)

export const listUser = (param) => Vue.axios.get("/user/list-user",{params:param})

export const updateUser = (params) => Vue.axios.post("/user/update-user",params)

export const tianKa = (params) => Vue.axios.post("/user/tian-ka",params)

export const loginCheckCode = (params) => Vue.axios.post("/user/login-check-code",params)

export const check = (params) => Vue.axios.post("/user/check",params)

export const getUser = (param) => Vue.axios.get("/user/get-user",{params:param})

export const addVisiter = (params) => Vue.axios.post("/visiter/add",params)

export const countInfo = (param) => Vue.axios.get("/visiter/count-info",{params:param})


export const getMaxId = (param) => Vue.axios.get("/user/get-max-id",{params:param})
